github.com/andybalholm/brotli/matchfinder.arrival.distance (field)
29 uses
github.com/andybalholm/brotli/matchfinder (current package)
bargain1.go#L104: distance: uint32(m.Start - m.Match),
bargain1.go#L119: if arrivedHere.distance == 0 {
bargain1.go#L124: prevDistance = int(arrivals[i-historyLen-1-unmatched].distance)
bargain1.go#L150: if prevDistance != 0 && prevDistance != int(arrivals[i-historyLen-1+4].distance) {
bargain1.go#L163: nextByteIsUnmatched := arrivals[i-historyLen-1+1].distance == 0
bargain1.go#L189: if a.distance > 0 {
bargain1.go#L192: Distance: int(a.distance),
bargain2.go#L115: distance: uint32(m.Start - m.Match),
bargain2.go#L130: if arrivedHere.distance == 0 {
bargain2.go#L135: prevDistance = int(arrivals[i-historyLen-1-unmatched].distance)
bargain2.go#L164: if prevDistance != 0 && prevDistance != int(arrivals[i-historyLen-1+4].distance) {
bargain2.go#L179: nextByteIsUnmatched := arrivals[i-historyLen-1+1].distance == 0
bargain2.go#L221: if a.distance > 0 {
bargain2.go#L224: Distance: int(a.distance),
bargain3.go#L121: distance: uint32(m.Start - m.Match),
bargain3.go#L136: if arrivedHere.distance == 0 {
bargain3.go#L141: prevDistance = int(arrivals[i-historyLen-1-unmatched].distance)
bargain3.go#L174: if prevDistance != 0 && prevDistance != int(arrivals[i-historyLen-1+4].distance) {
bargain3.go#L189: nextByteIsUnmatched := arrivals[i-historyLen-1+1].distance == 0
bargain3.go#L247: if a.distance > 0 {
bargain3.go#L250: Distance: int(a.distance),
pathfinder.go#L59: distance uint32
pathfinder.go#L226: if arrivedHere.distance == 0 {
pathfinder.go#L231: prevDistance = int(arrivals[i-historyLen-1-unmatched].distance)
pathfinder.go#L264: distance: uint32(m.Start - m.Match),
pathfinder.go#L274: !(arrivedHere.length != 0 && arrivedHere.distance == uint32(pending.Start-pending.Match)) {
pathfinder.go#L287: distance: uint32(pending.Start - pending.Match),
pathfinder.go#L309: if a.distance > 0 {
pathfinder.go#L312: Distance: int(a.distance),
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |